$(document).ready(function(){
   	
	$('ul#product_list li.ajax_block_product:nth-child(3n)').addClass('col3');
	

	
	
	$('ul#product_list li.ajax_block_product div.center_block .product_img_link').mouseenter(function(){
		
		$(this).parent().children('.product_desc').each(function(){
			$(this).animate({ top: '28'}, 900, 'easeInQuad', function() {});
			
		})
		
		
		
	});
	$('ul#product_list li.ajax_block_product div.center_block .product_desc').mouseleave(function(){
	$(this).animate({ top: '320'},500, 'easeOutQuad', function() {});
	})
	
	/*
	var leftHeight = $('#left_column').height();
	var centerHeight = $('#center_column').height();
	var bothheight;
	if(leftHeight>centerHeight){
	bothheight=leftHeight-44+"px";
	
	$('#left_column').css('height',bothheight);
	$('#center_column').css('height',bothheight);
	}else{
	bothheight=centerHeight+"px";
	
	}
	*/
	
	
	
    /*setInterval( "slideSwitch()", 5000 );*/
  
  
  
					
					
					$('#slideshow').innerfade({
						speed: 2000,
						timeout: 10000,
						type: 'sequence',
						containerheight: '450px'
					});
				
				
					
						$('ul#featuredBlock').innerfade({
						speed: 3000,
						timeout: 6000,
						type: 'sequence',
						containerheight: '150px'
					});
					
					$('#devilNewProducts ul.product_images').innerfade({
						speed: 4000,
						timeout: 6000,
						type: 'sequence',
						containerheight: '150px'
					});
	$('.informations_block_left ul li:last-child').addClass('last');
   
})